#include <iostream>
#include <sw/redis++/redis.h>
#include <vector>
#include <sw/redis++/redis++.h>
#include <string>
#include <unordered_map>

using std::cout;
using std::cin;
using std::endl;
using std::string;
using std::vector;
using std::unordered_map;

int main()
{
    sw::redis::Redis redis("tcp://127.0.0.1:6379");

    string result = redis.ping();
    cout << result << endl;

    return 0;
}
